package com.dsg.entity.approve;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 审批超时设置表
 * </p>
 *
 * @author system
 * @since 2020-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dsg_approve_waittime")
@ApiModel(value="DsgApproveWaittime对象", description="审批超时设置表")
public class DsgApproveWaittime implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主鍵")
    @TableId("OID")
    private String oid;

    @ApiModelProperty(value = "系统角色ID")
    @TableField("ROLE_ID")
    private String roleId;

    @ApiModelProperty(value = "申請類型")
    @TableField("APP_TYPE")
    private Integer appType;

    @ApiModelProperty(value = "等待超时时间")
    @TableField("TIME_OUT")
    private Integer timeOut;

    @ApiModelProperty(value = "时间单位")
    @TableField("TIME_UNIT")
    private Integer timeUnit;

    @ApiModelProperty(value = "創建時間")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "創建人")
    @TableField("CREATER")
    private String creater;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATER")
    private String updater;

    @ApiModelProperty(value = "更新時間")
    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

    /**
     * 企業編號
     */
    @TableField(value = "ENT_CODE")
    @ApiModelProperty(value = "企業編號", name = "entCode")
    private String entCode;

    /**
     * 任務配置表ID
     */
    @TableField(value = "TASK_ID")
    @ApiModelProperty(value = "任務配置表ID", name = "TASK_ID")
    private String taskId;
}
